package com.yinian.server.mapper;


import com.yinian.pojo.dto.OperaVideoDTO;
import com.yinian.pojo.vo.OperaVideoVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface OperaMapper {
@Select("select o.* from opera o join opera_category c on o.category_id = c.id where c.opera_type = #{operaType}")
     List<OperaVideoVO> getOperaVideo(OperaVideoDTO operaVideoDTO);
}
